package com.hibase.upms.entity.user.dto;

import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * @author hufeng
 * @date 2019-4-16
 */
@Data
@ApiModel("用户修改密码")
@HibaseValid
public class MdsUserUpdatePwdVO {

    @NotBlank(message = "请输入旧密码")
    @ApiModelProperty(value = "旧密码", example = "123456")
    private String oldPasswd;

    @NotBlank(message = "请输入新密码")
    @ApiModelProperty(value = "新密码", example = "345678")
    private String newPasswd;
}
